package cn.iocoder.yudao.module.reading.controller.app.recordings.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户配音响应 VO
 *
 * @author 李晨
 */
@Schema(description = "用户配音响应 VO")
@Data
public class UserRecordingRespVO {

    @Schema(description = "配音记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "绘本ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    private Long bookId;

    @Schema(description = "绘本标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "Fun at the Beach")
    private String bookTitle;

    @Schema(description = "封面URL", example = "https://example.com/cover.jpg")
    private String coverUrl;

    @Schema(description = "配音文件URL", example = "https://example.com/recording.mp3")
    private String audioUrl;

    @Schema(description = "评分", example = "85")
    private Integer score;

    @Schema(description = "录制时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime recordTime;

    @Schema(description = "是否可分享", example = "true")
    private Boolean isShareable;

    @Schema(description = "时长", example = "02:30")
    private String duration;

}
